package com.caipiao.mapper;

import com.caipiao.pojo.SMember;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface SMemberMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SMember record);

    int insertSelective(SMember record);

    SMember selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SMember record);

    int updateByPrimaryKey(SMember record);
    //首页专家列表
    List<SMember> selectMember(@Param("id") String id);
    //跟单专家
    List<SMember>  selectMemberOne();
    //关注专家列表
    List<SMember> selectMemberByUserId(Integer userId);
    //专家擅长的联赛
    List<String> selectMemberLeague(Integer id);
}